<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			table{
				width: 800px;
				height: 50px;
				border: 1px solid black;
			}
			th,td,tr{
				width: 800px;
				height: 50px;
				border: 1px solid black;
			}
			a{
				text-decoration: none;
			}
			.bg{
				background: pink;
			}
		</style>
	</head>

	<body>
		<!--
			table:创建一个表格
			在写表格标签的时候，必须先有行
			cellspacing="0px":设置表格和表格之间的间距
		-->
		<table cellspacing="0px">
			<!--
				tr:创建一行
			-->
			<tr>
				<!--
					创建列
				-->
				<th>姓名</th>
				<th>性别</th>
				<th>年龄</th>

			</tr>
			<tr class="bg">
				<td><a href="#">柳岩</a> </td>
				<td>女</td>
				<td>18</td>
			</tr>
			<tr>
				<td>柳瑞瑞</td>
				<td>女</td>
				<td>18</td>
			</tr>
			<tr class="bg">
				<td>金礼艳</td>
				<td>女</td>
				<td>68</td>
			</tr>
			<tr>
				<td>周钟捷</td>
				<td>未知</td>
				<td>88</td>
			</tr>

		</table>
	</body>

</html>